﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace Frame
{

    public class Menu
    {
        public struct tMenu
        {
            public string name;//菜单名
            public string txt;//显示名称
            public Image image;//图标
        }

        public static List<tMenu> MenuList;//自定义花间

        public static Dictionary<string, tMenu> StatMenuList;//固定菜单


    }

    public enum RunInfo
    {
        FormatError,//格式错误
        NotFindDll,//没找到DLL
        InitialSuccess,//初始化成功
        InitialFail,//初始化失败
        NotEcat,//未通讯
        StartEcat,//开启通讯
        Ecating,//通讯正在进行,请勿重复启动
        EcatSuccess,//通讯成功
        EcatFail,//通讯失败
        AxisConfigLoadSuccess,//配置加载成功
        AxisConfigLoadFail,//配置加载失败
        AxisConfigSetSuccess,//配置设置成功
        AxisConfigSetFail,//配置设置失败
        PleaseSelectOneCard,//请选择一张控制卡
        AxisConfigSaveSuccess,//配置保存成功
        AxisConfigSaveFail,//配置保存失败
        None,//空
    }

}
